package com.nanhai.buddhist.college.module.collegebase.convert.studentroll;

import java.util.*;

import com.nanhai.buddhist.college.framework.common.pojo.PageResult;

import com.nanhai.buddhist.college.module.collegebase.api.student.dto.StudentRespDTO;
import com.nanhai.buddhist.college.module.collegebase.controller.admin.studentroll.vo.StudentRollCreateReqVO;
import com.nanhai.buddhist.college.module.collegebase.controller.admin.studentroll.vo.StudentRollExcelVO;
import com.nanhai.buddhist.college.module.collegebase.controller.admin.studentroll.vo.StudentRollRespVO;
import com.nanhai.buddhist.college.module.collegebase.controller.admin.studentroll.vo.StudentRollUpdateReqVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.nanhai.buddhist.college.module.collegebase.controller.admin.studentroll.vo.*;
import com.nanhai.buddhist.college.module.collegebase.dal.dataobject.studentroll.StudentRollDO;

/**
 * 学员信息 Convert
 *
 * @author AKai
 */
@Mapper
public interface StudentRollConvert {

    StudentRollConvert INSTANCE = Mappers.getMapper(StudentRollConvert.class);

    StudentRollDO convert(StudentRollCreateReqVO bean);

    StudentRollDO convert(StudentRollUpdateReqVO bean);

    StudentRollRespVO convert(StudentRollDO bean);

    StudentRespDTO  convertStudentRespDTO(StudentRollDO bean);

    List<StudentRespDTO> convertStudentRespDTOList(List<StudentRollDO> list);

    List<StudentRollRespVO> convertList(List<StudentRollDO> list);

    PageResult<StudentRollRespVO> convertPage(PageResult<StudentRollDO> page);

    List<StudentRollExcelVO> convertList02(List<StudentRollDO> list);

    PageResult<StudentRespDTO> convertStudentRespDTOPage(PageResult<StudentRollDO> list);

}
